package ${packageName}.rpc.api;

import ${packageName}.model.bo.${ModelName}BO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;

public interface ${ModelName}Service {

    void create(${ModelName}BO bo);

    void delete(${ModelName}BO bo);

    void delete(String ${modelName}Id);

    ${ModelName}BO detail(String ${modelName}Id);

    ${ModelName}BO detail(${ModelName}BO bo);

    void update(${ModelName}BO bo);

    Page<${ModelName}BO> query(${ModelName}BO bo, PageRequest pageRequest);

    List<${ModelName}BO> list(${ModelName}BO bo);
}
